﻿using Sunboxsoft.ChanceData.ServiceProxy.DataServiceRef;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.UI.Script
{
    public class DataItemScriptObject
    {
        public static DataItemScriptObject Create(DataItem dataItem)
        {
            return null;
        }

        public DataItemScriptObject(DataItem dataItem)
        {
            this.id = dataItem.Id;
            this.name = dataItem.Name;
            this.value = dataItem.Value;
        }

        public string id
        {
            get;
            private set;
        }

        public string name
        {
            get;
            private set;
        }

        public string value
        {
            get;
            private set;
        }
    }
}
